package com.j48.entrancegurad.model;

/**
 * power_id 权限编号；
 * power_name 权限名称；
 * power_url 权限路径；
 * power_level 权限等级
 * power_parent_id 权限父级编号；
 */
public class Power {
    private int power_id;//权限编号
    private String power_name;//权限名称
    private String power_url;//权限路径
    private int power_level;//权限等级
    private int power_parent_id;//权限父级编号
    public Power(Power power){
        this.power_id=power.power_id;
        this.power_name=power.power_name;
        this.power_url=power.power_url;
        this.power_level=power.power_level;
        this.power_parent_id=power.power_parent_id;
    }
    public Power(String power_name, String power_url,int power_level) {
        this.power_name = power_name;
        this.power_url = power_url;
        this.power_level=power_level;
    }

    public Power() {
    }

    public int getPower_id() {
        return power_id;
    }

    public void setPower_id(int power_id) {
        this.power_id = power_id;
    }

    public String getPower_name() {
        return power_name;
    }

    public void setPower_name(String power_name) {
        this.power_name = power_name;
    }

    public String getPower_url() {
        return power_url;
    }

    public void setPower_url(String power_url) {
        this.power_url = power_url;
    }

    public int getPower_parent_id() {
        return power_parent_id;
    }

    public void setPower_parent_id(int power_parent_id) {
        this.power_parent_id = power_parent_id;
    }

    public int getPower_level() { return power_level; }

    public void setPower_level(int power_level) { this.power_level = power_level; }
}
